package com.xj.rpc;

import lombok.Data;

/**
 * Server配置
 * <p>
 * Created by xiongjie on 2020/2/23.
 */
@Data
public class RpcServerConfig {
    private Class<? extends TransportServer> transportClass = HTTPTransportServer.class;
    private Class<? extends Encoder> encoderClass = JSONEncoder.class;
    private Class<? extends Decoder> decoderClass = JSONDecoder.class;
    private int port = 3000;
}
